<!doctype html>
<html lang="en" xmlns:th="www.thymeleaf.org">
<head>
	<meta charset="utf-8" />
	<link rel="icon" type="image/png" href="assets/img/favicon.ico">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title></title>

	<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
    <meta name="viewport" content="width=device-width" />


    <!-- Bootstrap core CSS     -->
    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />

    <!-- Animation library for notifications   -->
    <link href="assets/css/animate.min.css" rel="stylesheet"/>

    <!--  Light Bootstrap Table core CSS    -->
    <link href="assets/css/light-bootstrap-dashboard.css" rel="stylesheet"/>


    <!--  CSS for Demo Purpose, don't include it in your project     -->
    <link href="assets/css/demo.css" rel="stylesheet" />


    <!--     Fonts and icons     -->
    <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,700,300' rel='stylesheet' type='text/css'>
    <link href="assets/css/pe-icon-7-stroke.css" rel="stylesheet" />
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入VUE库 -->
    <script src="http://lib.baomitu.com/vue/2.6.12/vue.min.js"></script>
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <script src="assets/js/axios.min.js"></script>

</head>
<body>

<div class="wrapper">
    <div class="sidebar" data-color="purple" data-image="assets/img/sidebar-5.jpg">

    <!--   you can change the color of the sidebar using: data-color="blue | azure | green | orange | red | purple" -->


    	<div class="sidebar-wrapper">
            <div class="logo" th:replace="admin::.logo">
            </div>

            <ul class="nav" th:replace="admin::admin001">
            </ul>
    	</div>
    </div>

    <div class="main-panel">
        <nav class="navbar navbar-default navbar-fixed">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigation-example-2">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="#">成员信息</a>
                </div>
                <div th:replace="admin::admin002">
                </div>
            </div>
        </nav>


        <div class="content">
            <div class="container-fluid">
                <div class="card">
                    <div class="header">
                        <h4 class="title">用户名单</h4>
                        <p class="category">= =</p>
                    </div>
                    <div class="content table-responsive table-full-width">
                        <table class="table table-hover table-striped">
                            <thead>
                            <th>编号</th>
                            <th>姓名</th>
                            <th>账号</th>
                            <th>密码</th>
                            <th>电话</th>
                            <th>邮箱</th>
                            <th>地址</th>
                            </thead>
                            <tbody>
                            <div th:each="au : ${adminuser.records}">
                                <tr th:if="${au.state} eq '1'">
                                    <td th:text="${au.id}"></td>
                                    <td th:text="${au.name}"></td>
                                    <td th:text="${au.account}"></td>
                                    <td th:text="${au.password}"></td>
                                    <td th:text="${au.phone}"></td>
                                    <td th:text="${au.email}"></td>
                                    <td th:text="${au.address}"></td>
                                    <td class="td-actions text-right">
                                        <a type="button" rel="tooltip" title="Edit Task" class="btn btn-info btn-simple btn-xs" th:href="@{queryau(id=${au.getId()})}">
                                            <i class="fa fa-edit"></i>
                                        </a>
                                        <a th:href="@{/delete/}+${au.id}" onclick="return confirm('确定要删除该记录吗?')" type="button" rel="tooltip" title="Remove" class="btn btn-danger btn-simple btn-xs">
                                            <i class="fa fa-times"></i>
                                        </a>
                                    </td>
                                </tr>
                            </div>
                            </tbody>
                        </table>
                        <div th:replace="common/_page::page_pager(${adminuser.current}, 0, ${adminuser.pages}, @{user})">
                        </div>
                    </div>
                </div>
            </div>
            <div class="container-fluid">
                <div class="card">
                    <div class="header">
                        <h4 class="title">管理员名单</h4>
                        <p class="category">= =</p>
                    </div>
                    <div class="content table-responsive table-full-width">
                        <table class="table table-hover table-striped">
                            <thead>
                            <th>编号</th>
                            <th>姓名</th>
                            <th>账号</th>
                            <th>密码</th>
                            <th>电话</th>
                            <th>邮箱</th>
                            <th>地址</th>
                            </thead>
                            <tbody>
                            <div th:each="au : ${adminuser.records}">
                            <tr th:if="${au.state} eq '0'">
                                <td th:text="${au.id}"></td>
                                <td th:text="${au.name}"></td>
                                <td th:text="${au.account}"></td>
                                <td th:text="${au.password}"></td>
                                <td th:text="${au.phone}"></td>
                                <td th:text="${au.email}"></td>
                                <td th:text="${au.address}"></td>
                                <td class="td-actions text-right">
                                    <!--<a type="button" rel="tooltip" title="Edit Task" class="btn btn-info btn-simple btn-xs" th:href="@{queryau(id=${au.getId()})}">
                                        <i class="fa fa-edit"></i>
                                    </a>
                                    <a th:href="@{/delete/}+${au.id}" onclick="return confirm('确定要删除该记录吗?')" type="button" rel="tooltip" title="Remove" class="btn btn-danger btn-simple btn-xs">
                                        <i class="fa fa-times"></i>
                                    </a>-->
                                </td>
                            </tr>
                            </div>
                            </tbody>
                        </table>
                        <div th:replace="common/_page::page_pager(${adminuser.current}, 0, ${adminuser.pages}, @{user})">
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <footer class="footer" th:replace="admin::admin003">
        </footer>

    </div>
</div>
<script>
    var v = new Vue({
        el : ".wrapper",
        data : {
            tableData : {}
        }
    })
</script>
</body>

    <!--   Core JS Files   -->
    <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script>
	<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>

	<!--  Checkbox, Radio & Switch Plugins -->
	<script src="assets/js/bootstrap-checkbox-radio-switch.js"></script>

	<!--  Charts Plugin -->
	<script src="assets/js/chartist.min.js"></script>

    <!--  Notifications Plugin    -->
    <script src="assets/js/bootstrap-notify.js"></script>

    <!--  Google Maps Plugin    -->
    <!---<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>--->

    <!-- Light Bootstrap Table Core javascript and methods for Demo purpose -->
	<script src="assets/js/light-bootstrap-dashboard.js"></script>

	<!-- Light Bootstrap Table DEMO methods, don't include it in your project! -->
	<script src="assets/js/demo.js"></script>

</html>
